.size {
  width: 100%;
  height: 100%;
}

.clearfix::after {
  content: '';
  display: block;
  clear: both;
}

html {
  font-size: 12px;
}

@media screen and (min-width: 321px) and (max-width: 375px) {
  html {
    font-size: 13.2px;
  }
}

@media screen and (min-width: 376px) and (max-width: 414px) {
  html {
    font-size: 14.4px;
  }
}

@media screen and (min-width: 415px) and (max-width: 639px) {
  html {
    font-size: 18px;
  }
}

@media screen and (min-width: 640px) and (max-width: 719px) {
  html {
    font-size: 24px;
  }
}

@media screen and (min-width: 720px) and (max-width: 749px) {
  html {
    font-size: 27px;
  }
}

@media screen and (min-width: 750px) and (max-width: 799px) {
  html {
    font-size: 28.2px;
  }
}

@media screen and (min-width: 800px) {
  html {
    font-size: 30px;
  }
}

/* html {
  font-size: 10px;
}

@media screen and (min-width: 321px) and (max-width: 375px) {
  html {
    font-size: 11px;
  }
}

@media screen and (min-width: 376px) and (max-width: 414px) {
  html {
    font-size: 12px;
  }
}

@media screen and (min-width: 415px) and (max-width: 639px) {
  html {
    font-size: 15px;
  }
}

@media screen and (min-width: 640px) and (max-width: 719px) {
  html {
    font-size: 20px;
  }
}

@media screen and (min-width: 720px) and (max-width: 749px) {
  html {
    font-size: 22.5px;
  }
}

@media screen and (min-width: 750px) and (max-width: 799px) {
  html {
    font-size: 23.5px;
  }
}

@media screen and (min-width: 800px) {
  html {
    font-size: 25px;
  }
} */

html,
body {
  .size;
  margin: 0;
  padding: 0;
  color: #313131;
  -webkit-overflow-scrolling: touch;
}

#app {
  .size;
  overflow: auto;
}

div,
p,
span,
ul,
li,
a,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 14px;
  text-decoration: none;
  box-sizing: border-box;
}

a {
  color: #313131;
}

body {
  font-family: -apple-system, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Arial, sans-serif;
  background: #f5f5f5;
}

.van-toast--text {
  min-width: 40px;
  width: auto;
}

.van-dialog {
  max-height: 500px;
  overflow: auto;
}